html,
body {
    height: 100%;
}
#box {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
}

#box header {
    width: 100%;
    height: 1.25rem;
    background-color: #dd403b;
}

#box header h2 {
    text-align: center;
    color: white;
    font-size: .375rem;
}
/* 登录 */
#box form{
   width:7.8125rem;
   height: 6.25rem;
   position: absolute;
   bottom: 0;
   right: 0px;
   top: 0;
   left: 0px;
   margin: auto;
   background-color: skyblue;
   border-radius: 5%;
}
#box form h6{
    text-align: center;
}
#box form p {
    width: 7.03125rem;
    height: 1.25rem;
    margin: auto;
    margin-top: .3125rem;
    text-align: center;
    line-height: 1.25rem;
}
#box form p label{
    width: 1.5625rem;
    height: .625rem;
    text-align: center;
    line-height: .625rem;
}
#box form input{
    width:4.6875rem;
    height: .625rem;
    border: .015625rem solid black;
}
#box form button{
    width: 1.5625rem;
    height: .9375rem;
    line-height: .9375rem;
    border-radius: 10%;
}
#box main {
    flex: 1;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    margin: .3125rem 0px;
}
#box main div {
    background-color: white;
}

#box main .bottom {
    margin-top: .3125rem;
}

#box main p {
    margin: .3125rem;
    color: black;
}

#box main p a {
    display: flex;
    justify-content: space-between;
    color: black;
}
.active{
    display: none;
}
hr {
    margin: 0;
}

/* 尾页 */
#box footer {
    width: 100%;
    height: .9375rem;
    display: flex;
    justify-content: space-around;
    background-color: white;
}

#box footer a {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
}

#box footer a:nth-of-type(3) {
    color: red;
}